package yunplus.io.hchome.display.utils;

import android.app.Activity;

/**
 * Created by yfsoft on 2016/12/15.
 */

public final class ActivityUtils {

    private ActivityUtils(){}

    public static boolean isAlive(Activity activity){
        return activity != null && !activity.isFinishing();
    }
}
